/*
 *
 * Copyright (C) 2012 Walter Lütgenau
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 */
package offset.nodes.client.veditor.model.messages;

import offset.nodes.client.veditor.model.messages.TemplateEditorResult;
import java.io.Serializable;
import java.util.Collection;
import java.util.Calendar;
import offset.nodes.client.editor.model.messages.TemplateInstanceEditorResult;
import offset.nodes.client.model.ServerResponse;
import offset.nodes.client.model.CommentedUserRequest;

public class UploadVirtualPage {
    
    /**
     *
     * @author Walter Lütgenau
     */
    public static class Request extends CommentedUserRequest implements Serializable {
        TemplateEditorResult templateInfo;
        TemplateInstanceEditorResult instanceInfo;
        String instancePath;
        
        /** Creates a new instance of UploadPage */
        public Request() {
        }

        public String getInstancePath() {
            return instancePath;
        }

        public void setInstancePath(String instancePath) {
            this.instancePath = instancePath;
        }

        public TemplateInstanceEditorResult getInstanceInfo() {
            return instanceInfo;
        }

        public void setInstanceInfo(TemplateInstanceEditorResult instanceInfo) {
            this.instanceInfo = instanceInfo;
        }

        public TemplateEditorResult getTemplateInfo() {
            return templateInfo;
        }

        public void setTemplateInfo(TemplateEditorResult templateInfo) {
            this.templateInfo = templateInfo;
        }
    }
    
    /**
     *
     * @author Walter Lütgenau
     */
    public static class Response extends ServerResponse {
        
        public Response(int result) {
            super(result);
        }
        
    }
    
}
